package com.eimf.saf.security.exception;

/**
 * @author eden
 * @date 2013-11-26 下午3:24:43
 * @Description: TODO(这里用一句话描述这个类的作用)
 */
public class StaffStatusException extends Exception
{
    private static final long serialVersionUID = 1L;
    private final int status;

    public StaffStatusException(final int status)
    {
        this.status = status;
    }

    public StaffStatusException(final int status, final String message)
    {
        super(message);
        this.status = status;
    }

    public StaffStatusException(final int status, final Throwable cause)
    {
        super(cause);
        this.status = status;
    }

    public StaffStatusException(final int status, final String message, final Throwable cause)
    {
        super(message, cause);
        this.status = status;
    }

    public int getStatus()
    {
        return this.status;
    }
}
